package com.pxmeta.dynamic.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.TableName;
import com.pxmeta.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 社区评论对象 kt_community_topic
 *
 * @author wcl
 * @date 2022-03-21
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("kt_community_topic")
public class Topic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /** 话题名称 */
    private String name;

    /** 圈子Id */
    private Long circleId;

    /** 内容数 */
    private Long contentCount;

    /** 浏览数 */
    private Long viewCount;

    private String imgUrl;

    /** 参与用户数 */
    private Long userCount;

    private Integer circleType;

    private Long categoryId;

}
